package com.oneonefive.educationsystem.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;


@TableName(value = "lab")
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class Lab implements Serializable {

    @TableId
    private String labId;

    private String labName;

    private Integer labType;

    private Integer equipment;

    private Integer userId;

    @TableField(exist = false)
    private User user;
}